Class symantec.itools.db.beans.dbnav.model.item.TableItem
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.dbnav.model.item.TableItem

Object
   |
   +----symantec.itools.db.beans.dbnav.model.item.TableItem

public class TableItem
extends Object
implements DataItem, Cloneable

The class stores some of the columns in the result set returned by java.sql.DatabaseMetaData.getTables() method

Version:
1.0 06/13/98
Author:
Hristo Tonev

Variable Index

 o catalog
table catalog (may be null)
 o name
table name
 o schema
table schema (may be null)
 o type
table type.

Constructor Index

 o symantec.itools.db.beans.dbnav.model.item.TableItem()
Default constructor
 o symantec.itools.db.beans.dbnav.model.item.TableItem(TableItem)
Copy constructor
 o symantec.itools.db.beans.dbnav.model.item.TableItem(String, String, String, String)

Method Index

 o clone()
Overridden to make clone public.
 o getCatalog()
 o getName()
 o getSchema()
 o getType()
 o setCatalog(String)
 o setName(String)
 o setSchema(String)
 o setType(String)
 o toString()

Variables

 o catalog
protected java.lang.String catalog
table catalog (may be null)

 o name
protected java.lang.String name
table name

 o schema
protected java.lang.String schema
table schema (may be null)

 o type
protected java.lang.String type
table type. Typical types are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".

Constructors

 o TableItem
public TableItem()
Default constructor

 o TableItem
public TableItem(TableItem obj)
Copy constructor

 o TableItem
public TableItem(String catalog,
                 String schema,
                 String name,
                 String type)

Methods

 o clone
public java.lang.Object clone()
Overridden to make clone public.

Returns:
a copy of this object
Overrides:
clone in class Object
 o getCatalog
public java.lang.String getCatalog()

Returns:
the table catalog
 o getName
public java.lang.String getName()

Returns:
the table name
 o getSchema
public java.lang.String getSchema()

Returns:
the table schema
 o getType
public java.lang.String getType()

Returns:
the table type
 o setCatalog
public void setCatalog(String catalog)

Parameters:
catalog - is the table catalog
 o setName
public void setName(String name)

Parameters:
name - is the table name
 o setSchema
public void setSchema(String schema)

Parameters:
schema - is the table schema
 o setType
public void setType(String type)

Parameters:
type - is the table type
 o toString
public java.lang.String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index